generating function to closed form

visit shbcf.ru